<?php

abstract class DoctrineObjectModel {
	protected $config;
	protected $manager;	

	public function __construct($options = array()) {
	}
	
	public abstract function cli();
	
	public function option($option, $value) {
		if (empty($this->config)) throw new Exception('Configuration object is empty');
		call_user_func(array($this->config, $option), $value);
		return $this;
	}
	
	public function getManager() {
		return $this->manager;
	}
}
